package com.waste.game.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.waste.game.entity.entitiytv.VideoHotTvListBean;
import org.apache.ibatis.annotations.Param;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
@Transactional(rollbackFor = RuntimeException.class)
public interface VideoHomeHotTvListDao extends BaseMapper<VideoHotTvListBean> {
    //查询观看最多
//    @Select("SELECT id,tv_title,tv_sm_title,tv_title_url,tv_Url,tv_type,tv_tip FROM everydaylook ORDER BY look_num DESC LIMIT #{pageNum},#{pageSize}")
    List<VideoHotTvListBean> getHotTvBang(@Param("pageNum")Integer pageNum,@Param("pageSize")Integer pageSize);
}
